﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CnBlogsCore.Global
{
    class CnBlogsUrl
    {
        public const string ClientId = "e43df8ea-07e8-4ffd-bccd-4f9ce338ff33";

        public const string ClientSecret = "DB3qxSuNhIBfJEx0wfWL21-MoiTTSETdE55TDv2pLaY5GjnxrMeCf3PsuU81tWLMcs2ji-_Zam2PX3kk";

        public const string ClientCredentialsUrl = "https://api.cnblogs.com/token";

        public const string Api = "https://api.cnblogs.com/api/";

        public const string KbArticlesUrl = Api + "KbArticles";

        public const string KbArticlesDetailUrl = Api + "kbarticles/";

        public const string KbArticlesDetailArgs = "{id}/body";

        public const string RecentNewsUrl = Api + "NewsItems";

        public const string WeekHotNewsUrl = Api + "newsitems/@hot-week";

        public const string RecommendedNewsUrl = Api + "newsitems/@recommended";

        public const string NewsDetailArgs = "{id}/body";
    }
}
